.LayerRoot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #fff;
}

.fadeEnter {
  opacity: 0.01;

  &.fadeEnterActive {
    opacity: 1;
    transition: opacity 0.2s ease-in;
  }
}

.fadeLeave {
  opacity: 1;

  &.fadeLeaveActive {
    opacity: 0.01;
    transition: opacity 0.2s ease-in;
  }
}

.slideEnter {
  top: 100%;

  &.slideEnterActive {
    top: 0%;
    transition: top 0.3s ease-in;
  }
}

.slideLeave {
  top: 0%;

  &.slideLeaveActive {
    top: 100%;
    transition: top 0.3s ease-in;
  }
}

.olayEnter {
  opacity: 0.01;

  &.olayEnterActive {
    opacity: 1;
    transition: opacity 0.1s linear;
  }
}

.olayLeave {
  opacity: 1;

  &.olayLeaveActive {
    opacity: 0.01;
    transition: opacity 0.4s linear;
  }
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

:global body {
  overflow-y: hidden;
}
